<% if activity.direct_object.acts_as_actor? %>
  <%= raw t('notification.fan', 
        :sender => truncate_name(activity.sender.name),
        :whose => t('notification.whose.'+ activity.receiver.subject.class.to_s.underscore,
                  :receiver => truncate_name(activity.receiver.name)))%>

<% else %>
  <%= raw t('notification.like.'+ activity.receiver.subject.class.to_s.underscore, 
            :sender => truncate_name(activity.sender.name),
            :whose => t('notification.whose.'+ activity.receiver.subject.class.to_s.underscore,
                      :receiver => truncate_name(activity.receiver.name)),
            :thing => t(activity.direct_object.class.to_s.underscore+'.name')) %>

  <% if activity.direct_object.respond_to? :text %>
    "<%= sanitize(activity.direct_object.text.truncate(100, :separator =>' '))%>"
  <%= raw t('notification.all_text', :url => notification_url_of(activity.direct_object, @notification))%>
  <% else%>
--><%= raw t('notification.watch', :url => notification_url_of( activity.direct_object, @notification))%>
  <%end%>  
<% end %>

<%= raw t('notification.look', 
          :sender => truncate_name(activity.sender.name)) %>: <%=polymorphic_url(activity.sender.subject)%>
